<?php


namespace App\Repositories;


use App\Models\Customs as Model;
use LTools\Repositories\RepositoryAbstract;

class Customs extends RepositoryAbstract
{
    /**
     * Customs constructor.
     * @param Model $customs
     * @author luffyzhao@vip.126.com
     */
    public function __construct(Model $customs)
    {
        $this->model = $customs;
    }

    /**
     * @param array $columns
     * @return mixed
     */
    public function select(array $columns = ['*']){
        return $this->model->where('status', '=', 3)->get($columns);
    }
}
